// index.js
const {
  getDealerByToken,
} = require('../../apiConfig/apiList/luban')
Page({
  data: {
    infoData:{}
  },
  onLoad(){
    this.getDealerInfo()
  },
  getDealerInfo(){
    getDealerByToken().then(res=>{
      if(res.code == 200){
        let data = res.data;
        this.setData({
          infoData: data
        });
      }
    });
  }
})
